<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Ananas Library: Класс wTable</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Создано системой Doxygen 1.5.6 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Титульная&nbsp;страница</span></a></li>
      <li class="current"><a href="annotated.html"><span>Классы</span></a></li>
      <li><a href="files.html"><span>Файлы</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Классы</span></a></li>
      <li><a href="hierarchy.html"><span>Иерархия&nbsp;классов</span></a></li>
      <li><a href="functions.html"><span>Члены&nbsp;классов</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Класс wTable</h1><!-- doxytag: class="wTable" -->Плагин - виджет для редактирования табличных данных, не хранящихся в бизнес объектах Ананаса. Наследует QTable.  
<a href="#_details">Подробнее...</a>
<p>
<code>#include &lt;<a class="el" href="wtable_8h-source.html">wtable.h</a>&gt;</code>
<p>

<p>
<a href="classwTable-members.html">Полный список членов класса</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Открытые слоты</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c15e42575455d7be4bbea5b29da295b5"></a><!-- doxytag: member="wTable::setDocument" ref="c15e42575455d7be4bbea5b29da295b5" args="(int row, aObject *object)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setDocument</b> (int row, <a class="el" href="classaObject.html">aObject</a> *object)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a14a1aad3d4441a3433369f4f38f05ff"></a><!-- doxytag: member="wTable::setText" ref="a14a1aad3d4441a3433369f4f38f05ff" args="(int row, int col, const QString &amp;text)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setText</b> (int row, int col, const QString &amp;text)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eee45091bc52acae34a76d1890d326eb"></a><!-- doxytag: member="wTable::text" ref="eee45091bc52acae34a76d1890d326eb" args="(int col, int row)" -->
QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>text</b> (int col, int row)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c98e9d10d99a7f84384a2e4403d5461d"></a><!-- doxytag: member="wTable::setHeaderText" ref="c98e9d10d99a7f84384a2e4403d5461d" args="(int col, const QString &amp;text)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setHeaderText</b> (int col, const QString &amp;text)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9459c98410aa610456a6fe0a596d480c"></a><!-- doxytag: member="wTable::textHeader" ref="9459c98410aa610456a6fe0a596d480c" args="(int col)" -->
QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>textHeader</b> (int col)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5092f464c191db19ccf46b211e0fc214"></a><!-- doxytag: member="wTable::sortColumn" ref="5092f464c191db19ccf46b211e0fc214" args="(int col, bool ascending=TRUE, bool wholeRows=TRUE)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>sortColumn</b> (int col, bool ascending=TRUE, bool wholeRows=TRUE)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="410d527c0836b56b1435df83916757da"></a><!-- doxytag: member="wTable::setColumnWidth" ref="410d527c0836b56b1435df83916757da" args="(int col, int width)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setColumnWidth</b> (int col, int width)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b34c814e75b37416ee8389dbeaef279f"></a><!-- doxytag: member="wTable::columnWidth" ref="b34c814e75b37416ee8389dbeaef279f" args="(int col)" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>columnWidth</b> (int col)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ed6fc46e7ad1b858ef3d56321e07903"></a><!-- doxytag: member="wTable::setNumCols" ref="5ed6fc46e7ad1b858ef3d56321e07903" args="(int r)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setNumCols</b> (int r)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="543116052c1236ed9c242fe9cb0aa4f4"></a><!-- doxytag: member="wTable::numCols" ref="543116052c1236ed9c242fe9cb0aa4f4" args="() const " -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>numCols</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f7d6f1bee88e96c9764fb4863c4e1765"></a><!-- doxytag: member="wTable::hideColumn" ref="f7d6f1bee88e96c9764fb4863c4e1765" args="(int col)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>hideColumn</b> (int col)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4a00ee6a198376d3bdfd358288e728bf"></a><!-- doxytag: member="wTable::showColumn" ref="4a00ee6a198376d3bdfd358288e728bf" args="(int col)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>showColumn</b> (int col)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="79ce74a64b18f2ab0f780053d4fc44c6"></a><!-- doxytag: member="wTable::adjustColumn" ref="79ce74a64b18f2ab0f780053d4fc44c6" args="(int col)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>adjustColumn</b> (int col)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="28a66192c76ba7733e369eaab527dee4"></a><!-- doxytag: member="wTable::setColumnStretchable" ref="28a66192c76ba7733e369eaab527dee4" args="(int col, bool stretch)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setColumnStretchable</b> (int col, bool stretch)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="983eb3ffa505d029f448b7b1db2a4c88"></a><!-- doxytag: member="wTable::isColumnStretchable" ref="983eb3ffa505d029f448b7b1db2a4c88" args="(int col) const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isColumnStretchable</b> (int col) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="464bcb300344bff8aa14b91391bc2f41"></a><!-- doxytag: member="wTable::swapColumns" ref="464bcb300344bff8aa14b91391bc2f41" args="(int col1, int col2, bool swapHeader=FALSE)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>swapColumns</b> (int col1, int col2, bool swapHeader=FALSE)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="24c997a5840ad124d3ecc4b07d6e62d3"></a><!-- doxytag: member="wTable::swapCells" ref="24c997a5840ad124d3ecc4b07d6e62d3" args="(int row1, int col1, int row2, int col2)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>swapCells</b> (int row1, int col1, int row2, int col2)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="49ed3ce4158972200a2f83de812c990d"></a><!-- doxytag: member="wTable::setCurrentCell" ref="49ed3ce4158972200a2f83de812c990d" args="(int row, int col)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setCurrentCell</b> (int row, int col)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae0b39941e2a36583b1b03df9a1d6027"></a><!-- doxytag: member="wTable::setColumnReadOnly" ref="ae0b39941e2a36583b1b03df9a1d6027" args="(int col, bool ro)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>setColumnReadOnly</b> (int col, bool ro)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="edf597ca909f2b32ea5a909c8800672a"></a><!-- doxytag: member="wTable::insertColumns" ref="edf597ca909f2b32ea5a909c8800672a" args="(int col, int count=1)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>insertColumns</b> (int col, int count=1)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86edbf1d1887c3854c702ccb39648133"></a><!-- doxytag: member="wTable::removeColumn" ref="86edbf1d1887c3854c702ccb39648133" args="(int col)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>removeColumn</b> (int col)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="813eccada234ce6ddcc4be777b11f031"></a><!-- doxytag: member="wTable::editCell" ref="813eccada234ce6ddcc4be777b11f031" args="(int row, int col, bool replace=FALSE)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>editCell</b> (int row, int col, bool replace=FALSE)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9605bbfa078c31f043faa18f1cbdc537"></a><!-- doxytag: member="wTable::swapRows" ref="9605bbfa078c31f043faa18f1cbdc537" args="(int row1, int row2, bool swapHeader=FALSE)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>swapRows</b> (int row1, int row2, bool swapHeader=FALSE)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c09adfd8c279320948108a6d97ff26b1"></a><!-- doxytag: member="wTable::currentRow" ref="c09adfd8c279320948108a6d97ff26b1" args="()" -->
virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><b>currentRow</b> ()</td></tr>

<tr><td colspan="2"><br><h2>Открытые члены</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="27bca0d3dea2611569fee0657675b962"></a><!-- doxytag: member="wTable::wTable" ref="27bca0d3dea2611569fee0657675b962" args="(QWidget *parent, const char *name)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>wTable</b> (QWidget *parent, const char *name)</td></tr>

<tr><td colspan="2"><br><h2>Защищенные слоты</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="de58cecd75717bc0cdf4ffdf415e1d89"></a><!-- doxytag: member="wTable::columnClicked" ref="de58cecd75717bc0cdf4ffdf415e1d89" args="(int col)" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>columnClicked</b> (int col)</td></tr>

<tr><td colspan="2"><br><h2>Защищенные члены</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4c9a5713ab271e096bde946e388d130b"></a><!-- doxytag: member="wTable::activateNextCell" ref="4c9a5713ab271e096bde946e388d130b" args="()" -->
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><b>activateNextCell</b> ()</td></tr>

</table>
<hr><a name="_details"></a><h2>Подробное описание</h2>
Плагин - виджет для редактирования табличных данных, не хранящихся в бизнес объектах Ананаса. Наследует QTable. 
<p>
В отличие от <a class="el" href="classwDBTable.html" title="Визуальный класс для редактирования табличных...">wDBTable</a> <a class="el" href="classwTable.html" title="Плагин - виджет для редактирования табличных...">wTable</a> не сохряняет редактируемые в нем данные автоматически в persistent бизнес объектах Ананаса. Программист самостоятельно должен закодировать на Ананас.Скрипте логику заполнения виджета данными и использования данных, вводимых пользователем. <hr>Объявления и описания членов классов находятся в файлах:<ul>
<li><a class="el" href="wtable_8h-source.html">wtable.h</a><li>wtable.cpp</ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Документация по Ananas Library. Последние изменения: Sun Feb 1 21:47:15 2009. Создано системой&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
</body>
</html>
